function proxy_connect_open_hook(proxy)
    print("open", proxy.type, proxy.host, proxy.client_ip, proxy.client_port, proxy.server_ip, proxy.server_port)
end

function proxy_connect_faile_hook(proxy)
    print("faile", proxy.type, proxy.client_ip, proxy.client_port, proxy.server_ip, proxy.server_port)
end

function proxy_connect_close_hook(proxy)
    print("close", proxy.type, proxy.client_ip, proxy.client_port, proxy.server_ip, proxy.server_port)
end

function proxy_connect_send_hook(proxy, data)
    print("send", proxy.type, proxy.client_ip, proxy.client_port, proxy.server_ip, proxy.server_port)
    return 0
end

function proxy_connect_recv_hook(proxy, data)
    print("recv", proxy.type, proxy.client_ip, proxy.client_port, proxy.server_ip, proxy.server_port)
    return 0
end